﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;

namespace tms.Admins.Dto
{   
    public class CreateUpdateAdminDto
    {
        /// <summary>        
        ///员工Id
        /// </summary>        
        public Guid EmployeeId{ get; set; }
        
        /// <summary>        
        ///用户名
        /// </summary>		[Required]		[StringLength(50)]        
        public string UserName{ get; set; }
        
        /// <summary>        
        ///密码
        /// </summary>		[Required]		[StringLength(50)]        
        public string Password{ get; set; }
        
        /// <summary>        
        ///末次登录时间
        /// </summary>        
        public DateTime LastLoginTime{ get; set; }
        
        /// <summary>        
        ///末次登录IP
        /// </summary>		[StringLength(50)]        
        public string LastLoginIP{ get; set; }
        
        /// <summary>        
        ///是否锁定
        /// </summary>		[Required]        
        public byte IsLock{ get; set; }
        
     }
 }